<?php
/**
 * User: aka
 * Time: 21:09
 */

namespace app\validate\users;

use think\Validate;

class EditPassword extends Validate
{
    protected $rule =   [
        'old_password' => 'require|token',
        'new_password' => 'require',
        'email_code' => 'require|number|min:6|max:6'
    ];
}